package com.jyxd.web.data.czhisdata;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 检查检验报告明细表
 */
@Entity
@Table(name = "table_Report_Detail")
@Data
public class ReportDetail implements Serializable {

    /**
     * 序列
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    @Column(name = "id", length = 32, nullable = false)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
    private String id;

    /**
     * 报告单id
     */
    @Column(name = "report_id")
    private String reportId;

    /**
     * 报告单类别
     */
    @Column(name = "report_class")
    private String reportClass;

    /**
     * 结果信息
     */
    @Column(name = "results_info")
    private String resultsInfo;

    /**
     * 观察值
     */
    @Column(name = "observations")
    private String observations;

    /**
     * 单位
     */
    @Column(name = "unit")
    private String unit;

    /**
     * 范围
     */
    @Column(name = "scope")
    private String scope;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 状态（0：禁用 1：正常 -1：删除）
     */
    @Column(name = "status")
    private int status;

}
